import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// import { Button, Select } from 'element-ui';
// import './assets/fonts/iconfont.scss'
import './assets/js/element/components'
import './assets/css/main.scss'
Vue.config.productionTip = false
// Vue.use(Button)

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')
// 阻止双击放大
// let lastTouchEnd = 0
//
// document.addEventListener('touchstart', function (event) {
//   if (event.touches.length > 1) {
//     event.preventDefault()
//   }
// })
// document.addEventListener('touchend', function (event) {
//   const now = (new Date()).getTime()
//
//   if (now - lastTouchEnd <= 300) {
//     event.preventDefault()
//   }
//   lastTouchEnd = now
// }, false)
//
// // 阻止双指放大
// document.addEventListener('gesturestart', function (event) {
//   event.preventDefault()
// })
